<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

/**
 * App\Models\FactoryLike
 *
 * @property int $id
 * @property int|null $factory_id
 * @property int|null $user_id
 * @property \Illuminate\Support\Carbon|null $created_at
 * @property \Illuminate\Support\Carbon|null $updated_at
 * @property string|null $model
 * @method static \Illuminate\Database\Eloquent\Builder|FactoryLike newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|FactoryLike newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|FactoryLike query()
 * @method static \Illuminate\Database\Eloquent\Builder|FactoryLike whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|FactoryLike whereFactoryId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|FactoryLike whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|FactoryLike whereModel($value)
 * @method static \Illuminate\Database\Eloquent\Builder|FactoryLike whereUpdatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|FactoryLike whereUserId($value)
 * @mixin \Eloquent
 */
class FactoryView extends Model
{
    protected $table='factory_view';
    use HasFactory;
    protected $casts=[
      'model'=>'array'
    ];
}
